﻿<!-- 本页面涉及的js函数，都在head.jsp页面中     -->
<div id="sidebar" class="menu-min">
	<div id="sidebar-shortcuts">
		<div id="sidebar-shortcuts-large">
			<button class="btn btn-small btn-success" onclick="javascript:alert('待开发模块')"
				title="切换菜单">
				<i class="icon-pencil"></i>
			</button>
			<button class="btn btn-small btn-info" title="UI实例"  onclick="javascript:alert('待开发模块')">
				<i class="icon-eye-open"></i>
			</button>
			<button class="btn btn-small btn-warning" title="角色管理"
				id="adminzidian" onclick="zidian()">
				<i class="icon-user"></i>
			</button>
			<button class="btn btn-small btn-danger" title="菜单管理" id="adminmenu"
				onclick="menu();">
				<i class="icon-folder-open"></i>
			</button>
		</div>
		<div id="sidebar-shortcuts-mini">
			<span class="btn btn-success"></span> <span class="btn btn-info"></span>
			<span class="btn btn-warning"></span> <span class="btn btn-danger"></span>
		</div>
	</div>
	<!-- #sidebar-shortcuts -->
	
	<ul class="nav nav-list">
		<li class="active" id="fhindex"><a href="<%=contextPath%>/index"><i
				class="icon-home"></i><span>后台首页</span></a></li>
		<c:forEach items="${menu}" var="menus">
				<li id="lm${menus.id}">
					<a style="cursor: pointer;"class="dropdown-toggle"> 
						<i class="${menus.icon == null ? 'icon-desktop' : menus.icon}"></i>
						<span>${menus.name }</span> 
						<b class="arrow icon-angle-down"></b>
					</a>
					<ul class="nav nav-second-level submenu">
						<c:forEach items="${menus.children}" var="sub">
										<li><a class="J_menuItem" href="<%=contextPath%>/${sub.href }" ><i
												class="icon-double-angle-right"></i>${sub.name }</a></li>
						</c:forEach>
					</ul>
				</li>
		</c:forEach>
	</ul>
	<!--/.nav-list-->
	<!-- <div id="sidebar-collapse">
		<i class="icon-double-angle-left"></i>
	</div> -->
</div>
<!--/#sidebar-->

